/*
 * Copyright (c) 2010 CCX(China) Co.,Ltd. All Rights Reserved.
 *
 * This software is the confidential and proprietary information of
 * CCX(China) Co.,Ltd. ("Confidential Information").
 * It may not be copied or reproduced in any manner without the express 
 * written permission of CCX(China) Co.,Ltd.
 *
 * @author luosisi
 * Date: 2010-7-5 上午10:22:31
 */
package com.ccxe.manage.dao;

import com.ccxe.manage.model.UserRoleBean;

/**
 * @author luosisi
 * User_Role 
 * 1.分配用户角色
 * 2.查询用户角色
 * 3.修改用户角色
 * 4.删除用户时将角色表记录一同删除
 */
public interface UserRoleDAO {
	
	public UserRoleBean getById(String value,String id);
	
	public int addUserRole(UserRoleBean userRoleBean);
	
	public int updateUserRole(UserRoleBean userRoleBean);
	
	public int deleteUserRole(String id);
	

}
